#include "../includes/mysort.h"

int main(int argc, char **argv) {
    int size = 10;
    int arr[] = {7, 1, 3, 23, 634, 11, 99, 123, 2121, 1198};
    int **arr1 = malloc(sizeof(int *) * size);
    for (int i = 0; i < size; i++)
    {
        arr1[i] = arr + i;
    }

    // fast_sort(arr1, size, intsort);
    // merge_sort(arr1, size, intsort);
    // for (int i = 0; i < size; i++)
    // {
    //     printf("after sort: %d\n", *(int *)arr1[i]);
    // }

    int arr2[10];
    counting_sort(arr, size, 2121, arr2);
    for (int i = 0; i < size; i++)
    {
        printf("after sort: %d\n", arr2[i]);
    }
    

    return 0;
}